<template>
    <Finance :title="title" :financeItems="financeItems"></Finance>
</template>

<script>
import Panel from '../core/panel'
import Finance from '../core/finance'
    export default {
        data(){
            return{
                title:'白条福利',
                financeItems:[
                    {
                        url:'//img12.360buyimg.com/jrpmobile/jfs/t4378/62/155957680/9017/16463551/58affd58Nb5c9198e.jpg?width=120&height=120',
                        title:'开通白条',
                        tip:'送188元礼包',
                        link:'立即开通',
                        color:'',
                    },{
                        url:'//img12.360buyimg.com/jrpmobile/jfs/t4150/330/141981421/9147/604e3e04/58affc3bNbfa8f9d7.jpg?width=120&height=120',
                        title:'白条闪付',
                        tip:'新手享158元礼包',
                        link:'随机立减',
                        color:'',
                    },{
                        url:'//img12.360buyimg.com/jrpmobile/jfs/t4270/96/1102370053/8651/58b7fa5a/58bd2e10N453e9464.jpg?width=120&height=120',
                        title:'白条提额',
                        tip:'金融app专享提额礼包',
                        link:'去提额',
                        color:'',
                    },
                ]
            }
        },
        components:{
            Panel,
            Finance
        }
    }
</script>

<style lang="scss" module>
    @import '~@/assets/css/element.scss';

    .panel {
        @include panel;

        .content {
            @include flex;
            .item{
        @include flex(row);
        align-items: center;
        height: 140px;
        &:after{
          content: " ";
          box-sizing: border-box;
          height: 0;
          width: 100%;
          border-bottom: 1px solid #ddd;
          margin-left: 150px;
        }
        &:last-child:after{
          border-color: #fff;
        }
        >img{
          width: 88px;
          height: 88px;
          display: inline-block;
          margin: 0 32px;
        }
        >div{
          font-size: 32px;
          color: #333;
          line-height: 1.8;
          width: 344px;
          p{
            color: #ff3232;
            font-size: 24px;
            line-height: 1.1;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }
        >em{
          color: #FF801A;
          font-size: 28px;
        }
      }
        }
    }
</style>